package com.hh.us.service;

import com.hh.us.entity.Urls;

public interface IUrlsService {
	
	/**
	 * find {@link Urls} by short url
	 * @return
	 */
	Urls findBySurl(String surl);

	/**
	 * save and generate short url
	 * @param urls
	 * @return 
	 */
	Urls shortUrl(Urls urls);
	
}
